<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'mobile-img-form',
	'enableAjaxValidation'=>false,
	'htmlOptions' => array('enctype'=>'multipart/form-data'),
)); ?>


	<?php echo $form->errorSummary($model); ?>

    <input type="hidden" name="MobileImg[moep_id]" value="<?php echo $_GET['moepid']?>">

	<div class="row">
		<?php 
			echo $form->textField($model,'moei_url[]',array('size'=>60,'maxlength'=>100)); 
			echo "<br/>";
			echo $form->textField($model,'moei_url[]',array('size'=>60,'maxlength'=>100)); 
			echo "<br/>";
			echo $form->textField($model,'moei_url[]',array('size'=>60,'maxlength'=>100)); 
			echo "<br/>";
			echo $form->textField($model,'moei_url[]',array('size'=>60,'maxlength'=>100)); 
			echo "<br/>";
			echo CHtml::fileField('phone_img[1]', '', array());
			echo "<br/>";
			echo CHtml::fileField('phone_img[2]', '', array());
			echo "<br/>";
			echo CHtml::fileField('phone_img[3]', '', array());
			echo "<br/>";
			echo CHtml::fileField('phone_img[4]', '', array());
			echo "<br/>";
			echo CHtml::fileField('phone_img[5]', '', array());
		?>

		<?php echo $form->error($model,'moei_url'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->